@layout("/common/_dialog.html",{plugins:["laydate","sweet-alert","layer"],js:["/assets/modular/schedule/schedule_edit.js"]}){
<div class="container-fluid">
    <form id="schelduleForm" \@submit="submitForm">
        <div class="row">
            <div class="col-6">
                <div class="form-group">
                    <h5>bean名称 <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="beanName" type="text" class="form-control" placeholder="spring bean名称，如：testTask">
                    </div>
                </div>
                <div class="form-group">
                    <h5>方法名称 <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="methodName" type="text" class="form-control" placeholder="方法名称">
                    </div>
                </div>
                <div class="form-group">
                    <h5>参数 </h5>
                    <div class="controls">
                        <input v-model="params" type="text" class="form-control" placeholder="参数">
                    </div>
                </div>
            </div>
            <div class="col-6">
                <div class="form-group">
                    <h5>cron表达式 <span class="text-danger">*</span></h5>
                    <div class="controls">
                        <input v-model="cronExpression" type="text" class="form-control" placeholder="如：0 0 12 * * ?">
                    </div>
                </div>
                <div class="form-group">
                    <h5>状态</h5>
                    <div class="controls">
                        <select v-model="status" class="form-control">
                            <option value="">请选择</option>
                            <option value="0">正常</option>
                            <option value="1">暂停</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <h5>备注 </h5>
                    <div class="controls">
                        <input v-model="remark" type="text" class="form-control" placeholder="备注">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-6">
                <div class="text-xs-right">
                    <button class="btn btn-info normal-button-width" \@click="ensure">提交</button>
                    <button class="btn btn-inverse normal-button-width m-l-10" \@click="close">取消</button>
                </div>
            </div>
        </div>
    </form>
</div>
@}


